AMD IOMMU: Rework of interrupt remapping
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Sep 2009 08:21:56 +0000 (09:21 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 16 Sep 2009 08:21:56 +0000 (09:21 +0100)
commita3713b97e8e1eb362a6cb52166170ba4d40717af
tree6595dbc972b78117dd56faae445a3cda41af4ef0
parent74ebd6f95915e07912b36f07e37c84d095ec57c4
AMD IOMMU: Rework of interrupt remapping

1) Parsing IVRS special device entry in order to handle ioapic
remapping correctly.
2) Allocating per-device interrupt remapping tables instead of using a
global interrupt remapping table.
3) Some system devices like io-apic for north-bridge cannot be
discovered during pci device enumeration procedure. To remap interrupt
of those devices, device table update is split into 2 steps, so
that interrupt tables can be bound to device table entry earlier than
I/O page tables.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen/drivers/passthrough/amd/iommu_acpi.c
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/amd/iommu_intr.c
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/include/asm-x86/amd-iommu.h
xen/include/asm-x86/hvm/svm/amd-iommu-acpi.h
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h